package com.neusoft.oa.mapper;

import com.neusoft.oa.pojo.Draft;
import com.neusoft.oa.pojo.Email;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface DraftMapper {
//    对数据库草稿箱进行查找
    java.util.List<Draft> draftList(Draft draft);

    //添加草稿，草稿保存成功
    int draftInsert(Draft draft);

    //修改草稿数据
    int draftUpdate(Draft draft);

}
